namespace LeadThing.AbpZeroTemplate.Migrations
{
    using System;
    using System.Data.Entity.Migrations;
    
    public partial class Add_NewCallPolice : DbMigration
    {
        public override void Up()
        {
            AddColumn("Basic.CallPolice", "FileID", c => c.Int(nullable: false));
            AddColumn("Basic.CallPolice", "XPoint", c => c.String(maxLength: 4000));
            AddColumn("Basic.CallPolice", "YPoint", c => c.String(maxLength: 4000));
            AddColumn("Basic.CallPolice", "Address", c => c.String(maxLength: 4000));
            AddColumn("Basic.CallPolice", "CallType", c => c.Int(nullable: false));
            AddColumn("Basic.CallPolice", "Remarks", c => c.String(maxLength: 4000));
            AddColumn("Basic.CallPolice", "Status", c => c.Int(nullable: false));
            AddColumn("Basic.CallPolice", "HandleSuggestion", c => c.String(maxLength: 4000));
            AddColumn("Basic.CallPolice", "ClosedSuggestion", c => c.String(maxLength: 4000));
        }
        
        public override void Down()
        {
            DropColumn("Basic.CallPolice", "ClosedSuggestion");
            DropColumn("Basic.CallPolice", "HandleSuggestion");
            DropColumn("Basic.CallPolice", "Status");
            DropColumn("Basic.CallPolice", "Remarks");
            DropColumn("Basic.CallPolice", "CallType");
            DropColumn("Basic.CallPolice", "Address");
            DropColumn("Basic.CallPolice", "YPoint");
            DropColumn("Basic.CallPolice", "XPoint");
            DropColumn("Basic.CallPolice", "FileID");
        }
    }
}
